package com.xyoto.takeawayUser.enums;

/**
 * @author coderFu
 * @create 2021/10/1
 *通用返回枚举
 */

public enum ShopEnum implements Code {


    NOT_SHOP_INFO(2003, "暂无店铺信息"),
    NOT_PROD_INFO(2004, "暂无商品列表信息");




   private int code;
   private String msg;
    ShopEnum(int code, String msg){
        this.code = code;
        this.msg = msg;
    }


    @Override
    public int code() {
        return this.code;
    }

    @Override
    public String msg() {
        return this.msg;
    }
}
